// var myIntegralURL = "http://localhost:8080/hjcr-wechat/integration/getAllocation";
var myIntegralURL = "./json/myIntegral.json"
$(document).ready(function(){
	$(".price").text(sessionStorage.integration);
  $.get(myIntegralURL, function(res){
    if(res.serviceResult){
      var data = res.resultParm.Integration.proportion;
      var num = 1/data;
      sessionStorage.rate = num;
      $(".jifen").text(num);
    }
  })
});
